package com.xmy.cultivate.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 招聘岗位表
 * </p>
 *
 * @author hpiggy
 * @since 2025-01-01
 */
@TableName("adms_station")
@ApiModel(value = "Station对象", description = "招聘岗位表")
@Data
public class Station implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    private String name;

    @ApiModelProperty("科目id(老师时有)")
    private Long subjectsId;

    @ApiModelProperty("1老师，2其它")
    private Integer type;

    @ApiModelProperty("是否区分科目：0否，1是")
    private Integer isHasSubjects;

    @ApiModelProperty("排序")
    private Integer sort;

    private Integer deleted;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdAt;

    @TableField(exist = false)
    private Long schoolOrDepartmentId;

    @TableField(exist = false)
    private String schoolOrDepartmentName;



}
